# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'tools.ui'
##
## Created by: Qt User Interface Compiler version 6.5.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
    QCursor, QFont, QFontDatabase, QGradient,
    QIcon, QImage, QKeySequence, QLinearGradient,
    QPainter, QPalette, QPixmap, QRadialGradient,
    QTransform)
from PySide6.QtWidgets import (QApplication, QComboBox, QFrame, QHBoxLayout,
    QLabel, QLayout, QMainWindow, QMenu,
    QMenuBar, QPlainTextEdit, QPushButton, QSizePolicy,
    QSpacerItem, QStatusBar, QVBoxLayout, QWidget)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(1263, 1096)
        self.actionopen = QAction(MainWindow)
        self.actionopen.setObjectName(u"actionopen")
        self.actionsupport_forma = QAction(MainWindow)
        self.actionsupport_forma.setObjectName(u"actionsupport_forma")
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_2 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")

        self.horizontalLayout_2.addWidget(self.label)

        self.operateType = QComboBox(self.centralwidget)
        self.operateType.addItem("")
        self.operateType.setObjectName(u"operateType")
        self.operateType.setMinimumSize(QSize(100, 30))

        self.horizontalLayout_2.addWidget(self.operateType)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_2.addItem(self.horizontalSpacer_2)


        self.horizontalLayout_3.addLayout(self.horizontalLayout_2)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setSpacing(5)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setSizeConstraint(QLayout.SetMinimumSize)
        self.horizontalLayout.setContentsMargins(-1, 0, -1, 0)
        self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer_3)

        self.formatContent = QPushButton(self.centralwidget)
        self.formatContent.setObjectName(u"formatContent")
        self.formatContent.setMinimumSize(QSize(50, 30))
        icon = QIcon()
        icon.addFile(u"images/format.svg", QSize(), QIcon.Normal, QIcon.Off)
        self.formatContent.setIcon(icon)
        self.formatContent.setIconSize(QSize(20, 20))

        self.horizontalLayout.addWidget(self.formatContent)

        self.compressContent = QPushButton(self.centralwidget)
        self.compressContent.setObjectName(u"compressContent")
        self.compressContent.setMinimumSize(QSize(50, 30))
        self.compressContent.setBaseSize(QSize(0, 0))
        font = QFont()
        font.setBold(False)
        font.setStyleStrategy(QFont.PreferAntialias)
        self.compressContent.setFont(font)
        self.compressContent.setLayoutDirection(Qt.LeftToRight)
        icon1 = QIcon()
        iconThemeName = u"accessories-calculator"
        if QIcon.hasThemeIcon(iconThemeName):
            icon1 = QIcon.fromTheme(iconThemeName)
        else:
            icon1.addFile(u"images/compress.svg", QSize(), QIcon.Selected, QIcon.On)

        self.compressContent.setIcon(icon1)
        self.compressContent.setIconSize(QSize(20, 20))

        self.horizontalLayout.addWidget(self.compressContent)


        self.horizontalLayout_3.addLayout(self.horizontalLayout)


        self.verticalLayout.addLayout(self.horizontalLayout_3)

        self.operateContent = QPlainTextEdit(self.centralwidget)
        self.operateContent.setObjectName(u"operateContent")
        self.operateContent.setMaximumSize(QSize(16777215, 16777215))
        self.operateContent.setMaximumBlockCount(0)

        self.verticalLayout.addWidget(self.operateContent)

        self.line = QFrame(self.centralwidget)
        self.line.setObjectName(u"line")
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)

        self.verticalLayout.addWidget(self.line)

        self.sysLog = QPlainTextEdit(self.centralwidget)
        self.sysLog.setObjectName(u"sysLog")
        self.sysLog.setMaximumSize(QSize(16777215, 150))
        self.sysLog.setMidLineWidth(0)
        self.sysLog.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
        self.sysLog.setReadOnly(True)

        self.verticalLayout.addWidget(self.sysLog)


        self.verticalLayout_2.addLayout(self.verticalLayout)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 1263, 21))
        self.menu = QMenu(self.menubar)
        self.menu.setObjectName(u"menu")
        self.menu_2 = QMenu(self.menubar)
        self.menu_2.setObjectName(u"menu_2")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.menubar.addAction(self.menu.menuAction())
        self.menubar.addAction(self.menu_2.menuAction())
        self.menu.addAction(self.actionopen)
        self.menu_2.addAction(self.actionsupport_forma)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"trans tools", None))
        self.actionopen.setText(QCoreApplication.translate("MainWindow", u"open", None))
        self.actionsupport_forma.setText(QCoreApplication.translate("MainWindow", u"support forma", None))
        self.label.setText(QCoreApplication.translate("MainWindow", u"\u64cd\u4f5c\u683c\u5f0f", None))
        self.operateType.setItemText(0, QCoreApplication.translate("MainWindow", u"JSON", None))

        self.formatContent.setText(QCoreApplication.translate("MainWindow", u"\u683c\u5f0f\u5316", None))
#if QT_CONFIG(tooltip)
        self.compressContent.setToolTip("")
#endif // QT_CONFIG(tooltip)
        self.compressContent.setText(QCoreApplication.translate("MainWindow", u"\u538b\u7f29", None))
        self.operateContent.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u8bf7\u7c98\u8d34\u6587\u672c\u5230\u6b64\u5904", None))
        self.sysLog.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u7cfb\u7edf\u65e5\u5fd7....", None))
        self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u6587\u4ef6", None))
        self.menu_2.setTitle(QCoreApplication.translate("MainWindow", u"\u5173\u4e8e", None))
    # retranslateUi

